class Test {
  public void foo() {
    Runnable r = () -> notify();
  }
}
